From: Felix Krull Date: Thu, 31 Oct 2019 13:55:04 +0000 (+0100) Subject: Add feature alias for the latest OSTree version X-Git-Tag: archive/raspbian/2022.4-1+rpi1^2~9^2^2~20^2~179 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=366e9b729f4e3cd01d2a08fec749f8d8477c3bfa;p=ostree.git Add feature alias for the latest OSTree version --- diff --git a/rust-bindings/rust/.gitlab-ci.yml b/rust-bindings/rust/.gitlab-ci.yml index 5434cb58..dbc27fd5 100644 --- a/rust-bindings/rust/.gitlab-ci.yml +++ b/rust-bindings/rust/.gitlab-ci.yml @@ -6,7 +6,6 @@ variables: CARGO_HOME: ${CI_PROJECT_DIR}/cargo SCCACHE_DIR: ${CI_PROJECT_DIR}/sccache RUSTC_WRAPPER: sccache - OSTREE_VERSION: v2019_3 before_script: - dnf install -y cargo rust clippy rustfmt git make ostree-devel @@ -34,8 +33,8 @@ check: build_all-features: stage: build script: - - cargo clippy --all --features ${OSTREE_VERSION},futures -- -D warnings - - cargo test --verbose --all --features ${OSTREE_VERSION},futures + - cargo clippy --all --features latest,futures -- -D warnings + - cargo test --verbose --all --features latest,futures build_default-features: stage: build diff --git a/rust-bindings/rust/Cargo.toml b/rust-bindings/rust/Cargo.toml index 0f61a620..724ff4c5 100644 --- a/rust-bindings/rust/Cargo.toml +++ b/rust-bindings/rust/Cargo.toml @@ -81,3 +81,4 @@ v2018_7 = ["v2018_6", "ostree-sys/v2018_7"] v2018_9 = ["v2018_7", "ostree-sys/v2018_9"] v2019_2 = ["v2018_9", "ostree-sys/v2019_2"] v2019_3 = ["v2019_2", "ostree-sys/v2019_3"] +latest = ["v2019_3"]